
package com.ruoyi.client.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 添加收货地址
 */
@Data
@ApiModel(description = "增加收货地址参数")
public class AddressInsertForm {

    @ApiModelProperty(value = "收件人名称", position = 1, required = true)
    private String name;

    @ApiModelProperty(value = "收件人联系方式", position = 2, required = true)
    private String tel;

    @ApiModelProperty(value = "是否默认地址 false/true", position = 3)
    private Boolean isDefault;

    @ApiModelProperty(value = "省", position = 4)
    private String province;

    @ApiModelProperty(value = "市", position = 5)
    private String city;

    @ApiModelProperty(value = "区/县", position = 6)
    private String county;

    @ApiModelProperty(value = "详细地址",position = 7)
    private String detail;

    @ApiModelProperty(value = "区域编码", position = 8, required = true)
    private String areaCode;

    @ApiModelProperty(value = "邮政编码",position = 9)
    private String postalCode;

    @ApiModelProperty(value = "区域",position = 10)
    private String area;
}
